package com.dmw.service;


import com.dmw.dto.Dto;
import com.dmw.service.impl.ScheduleConsumerServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name = "p-schedule",fallback= ScheduleConsumerServiceImpl.class)
public interface ScheduleConsumerService {

    /**
     * 选座页API 2-1 根据剧场Id查询剧场原始座位
     * @return
     */
    @PostMapping("/queryOriginalCinemaSeatArray")
    public Dto queryOriginalCinemaSeatArray(@RequestBody Map<String, Object> map);
    /**
     * 选座页API 2-2  根据排期获取剧场座位信息
     * @return
     */
    @PostMapping("/queryCinemaSeatArrayByScheduleId")
    public Dto queryCinemaSeatArrayByScheduleId(@RequestBody Map<String, Object> map);


}
